<template>
    <input type="text" v-on:keyup.enter="submit">
</template>

<script setup>
let show = message => console.log(message);
let submit = () => {
    console.log('123');
}

</script>